package com.caishi.lkx.exam.ienum.type;

import com.zzw.common.mysql.MybatisPlusEnum;
import lombok.Getter;

/**
 * @author by Janisa
 * @Description: 试题难易度
 * @date 2022/2/8 19:24
 */
public enum QuestionDifficulty implements MybatisPlusEnum<Integer> {
    // 试题难易度枚举
    easy("简单", 1),
    normal("普通", 2),
    difficult("困难", 3),
    ;

    @Getter
    final
    String desc;

    @Getter
    final
    Integer code;

    QuestionDifficulty(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }
}
